* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    /* 130 全金属 */
    background: linear-gradient(to bottom, #D5DEE7 0%, #E8EBF2 50%, #E2E7ED 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 50%, rgba(255, 255, 255, 0.02) 61%, rgba(0, 0, 0, 0.02) 73%), linear-gradient(33deg, rgba(255, 255, 255, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
    background-blend-mode: normal, color-burn;
}

.container {
    overflow: hidden;
    width: 300px;
    border-radius: 5px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .2);
}

.header {
    padding: 30px 20px;
    color: #fff;
    background-color: steelblue;
}

.title {
    margin: 0;
}

.subtitle {
    display: block;
    margin: 5px 0 20px;
    opacity: .8;
}

.header input {
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
    color: #fff;
    background-color: rgba(0, 0, 0, .3);
    border: 0;
    border-radius: 50px;
}

.header input:focus {
    outline: none;
}

/* ul */
.user-list {
    /* 当Y轴内容溢出时,显示滚动条 */
    overflow-y: auto;
    margin: 0;
    padding: 0;
    max-height: 400px;
    background-color: #fff;
    list-style: none;
}

.user-list li {
    display: flex;
    padding: 20px;
}

/* 头像 */
.user-list img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

/* 个人信息 */
.user-list .user-info {
    margin-left: 10px;
}

/* 姓名 */
.user-list .user-info h4 {
    margin-bottom: 10px;
}

/* 位置 */
.user-list .user-info p {
    font-size: 12px;
}

.user-list li.hide {
    display: none;
}

/* 除最后一个li之外的所有li */
.user-list li:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}